package com.thinkingcoder.tcrpc.core.api;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * response data for RPC call.
 * 
 * @param <T>
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RpcResponse<T> {
    boolean status;
    T data;
    RpcException ex;
}
